Methods for inlining content externally referenced in a web page prior to providing the web page to a requestor and devices thereof

ABSTRACT

A method, computer readable medium, and application delivery controller apparatus for content inlining includes obtaining content from one or more servers as requested by one or more clients, obtaining external content from the one or more servers as referenced by one or more external references included in the requested content, modifying the requested content to include at least one of the external content, and servicing the client request by communicating the modified requested content.

FIELD

This technology generally relates to servicing client requests for Web pages from one or more networked servers and, more particularly, to methods for content inlining and devices thereof.

BACKGROUND

The speed with which Web pages load on a client device is important for Web page hosts, particularly those hosts concerned with increasing views, such as retailers and those Websites deriving advertising revenue based on views, because users will tend to navigate away from pages having a lengthy load time. Accordingly, users are more likely to view a Web page, and navigate various pages of a website, when response and load times are relatively fast. Of particular concern for hosts is the load time of a home page, index page, and/or splash page which is often the initial entrance to a larger website in which the host is attempting to attract and retain users and/or provide an effective user experience.

However, in order to attract and retain users to a Web page, hosts often enhance the viewer experience by providing various functionality and/or media by referencing external content such as script files, in the case of functionality, and/or image files, in the case of media, for example. In a typical request for a Web page over a network, the request is serviced by providing a hypertext markup language (HTML) file to a browser, located on a client computing device, as retrieved from a server, which may be a substantial distance from the client computing device. Upon receipt of the HTML file, the browser parses the file and further communicates with one or more servers to retrieve the referenced external content. These additional communications can add substantial latency resulting in delay in loading the Web page on the client computing device browser, reduced usability, and/or reduced effectiveness, particularly where the distance to the server(s), and associated round trip time and/or latency, is substantial.

SUMMARY

A method for content inlining including obtaining, at an application delivery controller, content from one or more servers as requested by one or more clients, obtaining, at the application delivery controller, external content from the one or more servers as referenced by one or more external references included in the requested content, modifying, with the application delivery controller, the requested content to include at least one of the external content, and servicing, with the application delivery controller, the client request by communicating the modified requested content.

A computer readable medium having stored thereon instructions for content inlining comprising machine executable code which when executed by at least one processor, causes the processor to perform steps including obtaining content from one or more servers as requested by one or more clients, obtaining external content from the one or more servers as referenced by one or more external references included in the requested content, modifying the requested content to include at least one of the external content, and servicing the client request by communicating the modified requested content.

An application delivery controller apparatus including one or more processors, a memory coupled to the one or more processors, and a network interface unit coupled to the one or more processors and the memory via at least one bus, at least one of the network interface units configured to implement and the one or more processors configured to execute programmed instructions stored in the memory including obtaining content from one or more servers as requested by one or more clients, obtaining external content from the one or more servers as referenced by one or more external references included in the requested content, modifying the requested content to include at least one of the external content, and servicing the client request by communicating the modified requested content.

This technology provides a number of advantages including retrieving external content, referenced by an HTML Web page, at a networked application delivery controller in closer proximity to the server(s) hosting the content, prior to servicing the client request for the Web page, thereby reducing the round trip latency normally resulting in successive requests to retrieve the external content from the relatively further client computing device to the server(s). With this technology, fewer objects are required to be downloaded by the client, fewer connection setups and teardowns are required for the client and potentially the server, fewer domain name server (DNS) lookups are required, there is reduced client and server overhead, there is an increased likelihood of successful transfer and reduction in data/packet loss due to an increased quantity of content being downloaded to the client in a single stream, the compression ratio of the requested content or Web page will likely be higher as inlining the external content provides more opportunity for duplication, and fewer connections and HTTP requests are required for other intermediary network devices, such as load balancers and other intelligent proxy devices.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a block diagram of a network environment which incorporates a application delivery controller implementing content inlining;

FIG. 2 is a block diagram of an application delivery controller implementing content inlining in the network environment shown in FIG. 1;

FIG. 3 is a flowchart of a method for content inlining and particularly for inlining script external content; and

FIG. 4 is a flowchart of a method for content inlining and particularly for inlining images as well as a method for providing more effective image presentation.

DETAILED DESCRIPTION

An exemplary network environment 10 is illustrated in FIGS. 1 and 2 as including client computing devices 12, application delivery controller 14 in an asymmetric deployment, and servers 16 which are coupled together by local area networks (LAN) 28 and wide area network (WAN) 30, although other types and numbers of devices and components in other topologies could be used. While not shown, the system 10 may include additional network components, such as routers, switches and other devices.

More specifically, application delivery controller 14 is coupled to client computing devices 12 through one of the LANs 28, although the client computing devices 12 or other devices and application delivery controller 14 may be coupled together via other topologies. Additionally, application delivery controller 14 is coupled to the servers 16 through another one of the LANs 28, although the servers 16 or other devices and application delivery controller 14 may be coupled together via other topologies. LANs 28 each may employ any suitable interface mechanisms and communications technologies including, for example, telecommunications in any suitable form (e.g., voice, modem, and the like), Public Switched Telephone Network (PSTNs), Ethernet-based Packet Data Networks (PDNs), combinations thereof, and the like. The application delivery controller 14 is coupled to client computing devices through the WAN 30, which may comprise any wide area network (e.g., Internet), although any other type of communication network topology may be used, and one of the LANs 28. Various network processing applications, such as CIFS applications, NFS applications, HTTP Web Server applications, FTP applications, may be operating on servers 16 and transmitting data (e.g., files, Web pages) through the application delivery controller in response to requests for content from client computing devices 12.

In this example, the application delivery controller 14 may run one or more traffic management applications on one or more processors 18 to manage network traffic by optimizing, securing and accelerating the traffic between client computing devices 12 and servers 16, and/or one or more applications to manage the manipulation, compression, and caching of content, application acceleration, load balancing, rate shaping, and SSL offloading, although application delivery controller 14 may perform other network related functions. Moreover, the network traffic may be received and transmitted by application delivery controller 14 from and to one or more of the LANs 28 and WAN 30 in the form of network data packets in the TCP/IP protocol, although the network data packets could be in other network protocols.

Application delivery controller 14 includes processor(s) 18, memory 20, interface(s) 22, and network interface controller (NIC) 24, which are coupled together by bus 26, although application delivery controller 14 may comprise other types and numbers of elements in other configurations. Although the application delivery controller 14 is shown in FIG. 1 in this example as being a standalone device, such as a BIG-IP® device offered by F5 Networks, Inc., of Seattle, Wash., it should be appreciated that the application delivery controller 14 could also be one of several blades servers coupled to a chassis device, such as a VIPRION® device, also offered by F5 Networks, Inc., of Seattle, Wash.

Processor(s) 18 execute the traffic management applications that handle the network traffic between applications on the client computing devices 12 and servers 16 as well as one or more computer-executable instructions stored in the memory 20 and other operations illustrated and described herein. The processor(s) 18 may comprise one or more central processing units (“CPUs”) or general purpose processors with one or more processing cores, such as AMD® processor(s), although other types of processor(s) could be used (e.g., Intel®).

Memory 20 may comprise one or more tangible storage media such as, for example, RAM, ROM, flash memory, CD-ROM, floppy disk, hard disk drive(s), solid state memory, DVD, or any other memory storage type or devices, including combinations thereof, which are known to those of ordinary skill in the art. Memory 20 may store one or more computer-readable instructions that may be executed by the one or more processor(s) 18 and/or the NIC 24. When these stored instructions are executed, they may implement processes that are illustrated, for exemplary purposes only, by the flow chart diagrams shown in FIGS. 3 and 4. It should be appreciated the flow chart diagrams shown in FIGS. 3 and 4 are representative of example steps or actions that may be embodied or expressed as one or more computer or machine readable instructions or logic that may be executed by the processor(s) 18 and/or NICs 24 in application delivery controller 14 shown in FIGS. 1 and 2. In this example, the machine readable instructions may embody an algorithm or computer program for execution by at least one of: (a) one or more processors each having one or more processor cores, (b) hardware specifically configured to perform the instructions (e.g., ASICs, FPGAs) and (c) one or more other suitable processing device(s). The algorithm or computer program may be embodied in software stored on memory 20, for example.

NIC 24 may comprise specialized hardware to achieve maximum execution speeds, such a field programmable gate arrays (“FPGAs”), although other hardware and/or software may be used, such as ASICs, field programmable logic devices (“FPLDs”), programmable logic units (“PLUs”), software executed by the processor 18, and combinations thereof. The use of the specialized hardware in this example, however allows the NIC 24 and/or the processor 18 executing programmed instructions stored in memory 20 to efficiently assist with the transmission and receipt of data packets via WAN 30 and the LANs 28 and implement content inlining, as illustrated and described herein. It is to be understood that NIC 24 may take the form of a network peripheral card or other logic that is installed inside a bus interface within the application delivery controller 14 or may be an embedded component as part of a computer processor motherboard, a router or printer interface, or a USB device that may be internal or external to the application delivery controller 14.

Input/output interfaces 22 include one or more keyboard/mouse interfaces, display devices interfaces, and other physical and/or logical mechanisms for enabling application delivery controller 14 to communicate with the outside environment, which includes WAN 30, LANs 28 and users (e.g., administrators) desiring to interact with application delivery controller 14, such as to configure, program or operate it. The bus 26 is a hyper-transport bus in this example, although other bus types may be used, such as PCI.

Each of the client computing devices 12 and servers 16 include a central processing unit (CPU) or processor, a memory, and an interface or I/O system, which are coupled together by a bus or other link, although other numbers and types of network devices could be used. The client computing devices 12, in this example, may run interface applications, such as Web browsers, that may provide an interface to make requests for and send content and/or data to different server based applications via the LANs 28 and WAN 30. Generally, servers 16 process requests received from requesting client computing devices 12 via LANs 28 and WAN 30 according to the HTTP-based application RFC 2616 protocol or the CIFS or NFS protocol in this example, but the principles discussed herein are not limited to this example and can include other application protocols. A series of applications may run on the servers 16 that allow the transmission of data, such as a data file or metadata, requested by the client computing devices 12. The servers 16 may provide data or receive data in response to requests directed toward the respective applications on the servers 16 from the client computing devices 12. As per TCP, packets may be sent to the servers 16 from the requesting client computing devices 12 to send data. It is to be understood that the servers 16 may be hardware or software or may represent a system with multiple servers 16, which may include internal or external networks. In this example the servers 16 may be any version of Microsoft® IIS servers or Apache® servers, although other types of servers may be used. Further, additional servers may be coupled to the LAN 28 and many different types of applications may be available on servers coupled to the LAN 28.

Although an exemplary network environment 10 with client computing devices 12, application delivery controller 14, servers 16, LANs 28 and WAN 30 are described and illustrated herein, other types and numbers of systems, devices, blades, components, and elements in other topologies can be used. It is to be understood that the systems of the examples described herein are for exemplary purposes, as many variations of the specific hardware and software used to implement the examples are possible, as will be appreciated by those skilled in the relevant art(s).

Furthermore, each of the systems of the examples may be conveniently implemented using one or more general purpose computer systems, microprocessors, digital signal processors, and micro-controllers, programmed according to the teachings of the examples, as described and illustrated herein, and as will be appreciated by those ordinary skill in the art.

In addition, two or more computing systems or devices can be substituted for any one of the systems in any example. Accordingly, principles and advantages of distributed processing, such as redundancy and replication also can be implemented, as desired, to increase the robustness and performance of the devices and systems of the examples. The examples may also be implemented on computer system or systems that extend across any suitable network using any suitable interface mechanisms and communications technologies, including by way of example only telecommunications in any suitable form (e.g., voice and modem), wireless communications media, wireless communications networks, cellular communications networks, G3 communications networks, Public Switched Telephone Network (PSTNs), Packet Data Networks (PDNs), the Internet, intranets, and combinations thereof.

The examples may also be embodied as a computer readable medium having instructions stored thereon for one or more aspects of the technology as described and illustrated by way of the examples herein, which when executed by a processor (or configurable hardware), cause the processor to carry out the steps necessary to implement the methods of the examples, as described and illustrated herein.

An exemplary method for content inlining will now be described with reference to FIGS. 1-4. In this particular example, the data communications are initiated at step 31 as one or more requests for content by a user of one of the client computing devices 12. Accordingly, in step 31, one of the client computing devices 12 initiates transmission of original data packets which are received by the application delivery controller 14, at step 32, that is configured to manage content manipulation and/or application acceleration. The client request is communicated to and initially serviced by the server(s) 16. In this example, the request for content is for a hypertext markup language (HTML) Web page file, which can be an initial home page, index page, and/or splash page, for example, although the request for content could be for any HTML file, or any other file including external references. At step 36, the requested content is obtained by the application delivery controller 14 from the server(s) 16 which parses the requested content to determine whether there are any external references at step 38. External references can include references to external content, such as java script files, cascading style sheets (CSS), and/or image objects, among others, referred to by the requested content HTML file but stored elsewhere, such as in the server(s) 16. The content referenced by the external references is stored externally for various reasons including that such arrangement allows the external files to be independently editable, accessible for referencing by multiple files or Web pages, and logically arranged and/or stored. Such external references can be represented by script and/or image tags identified by the application delivery controller 14 when parsing the requested content at step 36. If the application delivery controller 14 determines there are no external references, it can service the client request by communicating the requested content at step 40.

If the application delivery controller 14 determines there are external reference(s) in the requested content, at step 42, it further determines whether there are any external references to script files. Such external references can be identified by one or more script tags including a source attribute such as “<script src=path/X.js></script>” whereby the path represents a location, such as on the server(s) 16, where the java script file X.js is located. If the application delivery controller 14 determines there are no external references to script files in the requested content, the method can optionally proceed to step 52, the operation of which is discussed in detail below.

If the application delivery controller 14 determines there are external reference(s) to a script file, it obtains, at step 44, the external content (e.g. a script file) from the location (e.g. server(s) 16) referenced by the external reference included in the source attribute for one or more script tags and optionally stores the external content in a memory 20, such as in cache. At step 46, the application delivery controller 14 modifies the requested content by removing the source attribute from each of the start script tags including an external reference and, at step 48, includes the obtained external content referenced by each removed source attribute immediately following each respective start script tag (e.g. “<script>[content of X.js]</script>”). As a result, the modified requested content includes the content of the externally referenced script inline.

In one example, the application delivery controller 14 services the client request by communicating the modified requested content to the client computing device 12 over the WAN 30 and LAN 28 networks. Upon receipt by the client computing device 12, the browser can render the Web page without having to traverse external references and retrieve external files, such as script files, from the server(s) 16. Instead, the substantially more efficient, with respect to at least speed, latency, and round trip time, application delivery controller 14 has already retrieved the external content from the server(s) 16, which are relatively closer in proximity, and performed a content inlining of the requested Web page resulting in the modified requested Web page content that can subsequently be rendered by the browser.

While it may be advantageous to perform the above-described content inlining for script files and service the client request by returning the modified requested content, optionally, prior to servicing the client request, the application delivery controller 14 can determine, at step 52, whether there are any external references to one or more image objects. Such external references can be identified by one or more image tags. If the application delivery controller 14 determines there are no external references to image objects in the requested and/or modified requested content, at step 54, it services the client request by communicating the requested content and/or modified requested content to the client computing device 12 over the WAN 30 and LAN 28 networks.

If the application delivery controller 14 determines there are external references to image objects in the requested and/or modified requested content, in one example, the application delivery controller 14 retrieves all of the referenced image objects from the location referenced by the source attribute of each image tag and stores the image objects in the memory 20, such as in cache. At step 56, the application delivery controller 14 optionally determines whether the referenced image objects are below a specified storage size from the metadata associated with each of the retrieved image objects. The specified size can be predetermined by an operator or manufacturer of the application delivery controller 14 and/or the specified size can correspond to the maximum uniform resource locator (URL) size accepted by one or more browsers. In some embodiments, the specified size is determined, for each client computing device 12 requesting content, based on the browser identification included in an HTTP header communicated with the request for content, as determined from a lookup table stored in memory 20 which includes correlated browser identifications and maximum URL sizes. A default specified size can optionally be established and utilized for any browser identifications that are deemed unresolvable and/or unreliable by the application delivery controller 14.

If the application delivery controller 14 determines, at step 56, there are external references to one or more image objects below a specified size, at step 58, the application delivery controller 14 converts each such image object into a base64 representation. In this example, at step 60, the application delivery controller modifies the requested and/or modified requested content by replacing the reference to each image object in each source attribute with at least the base64 representation of the referenced image object. In some embodiments, for proper browser rendering, the source attribute of each image tag is further modified by the application delivery controller 14 to include the media type and an indication of the image representation as base64 (e.g. “<img src=“data:image/gif; base64,[base64 representation of referenced image]”>”). The image type can be determined by the application delivery controller 14 based on metadata associated with the image object, the extension of the image object file referenced by the original source attribute, and/or an inspection of the file contents. While the above example has been described with respect to HTML image tags, image objects could also included inline in a base64 representation in one or more CSS expressions (e.g. “body {background-image:url (data:image/png; base64,[base64 representation of referenced image])}”).

In one example, the application delivery controller 14 can service the client request by communicating the modified requested content to the client computing device 12 over the WAN 30 and LAN 28 networks. Upon receipt by the client computing device 12, one or more images below a specified size will be represented inline in the modified requested content which, when interpreted by a browser on the client computing device 12, will automatically render the images below a specified size without having to retrieve each image from an external location, such a server(s) 16. Accordingly, Web page load time will be improved as some browsers do not render a Web page until all externally referenced image objects have been retrieved. For those browsers that will initially render a Web page prior to all externally referenced image objects being retrieved, usability and presentation will be improved because the images below a specified size can be automatically rendered and the page layout will not have to be modified in response to each such object being retrieved and rendered by the browser.

While it may be advantageous to perform the above-described content inlining for script files and/or images below a specified size, and service the client request by communicating the modified requested content, optionally, the application delivery controller 14 determines, at step 64, whether the requested and/or modified requested content includes both an image width and an image height for one or more, but preferably all, image tags. While generally optional, such attributes are preferable because some browsers will not render a Web page without image width and height information for all images, and other browsers will not properly initially render a Web page, such as by allocating the appropriate space, when image width and height information is not included in one or more image tags. In either of the above cases, the Web page rendering is delayed inhibiting the user experience. If the application delivery controller 14 determines all image tags include both image width and image height attributes, at step 66, it can service the client request by communicating the requested and/or modified requested content to the client computing device 12 over the WAN 30 and LAN 28 networks.

If the application delivery controller 14 determines there is at least one image tag that does not include at least one of an image width attribute or an image height attribute, it can obtain metadata at step 68, such as associated with the image file previously retrieved and stored in cache memory 20, including at least one of the image width or image height. Generally, for such image tags, neither the image width nor the image height attribute will be included and, in such cases, it is preferable that the application delivery controller 14 obtain metadata including both the image width and the image height for inclusion in the image width and image height attributes of each such image tag. At step 70, the application delivery controller can modify the requested and/or modified requested content such that one or more image tags include both image width and image height attributes to include the obtained image width and height, such as “<img src=“data:image/gif; base64,[base64 representation of referenced image]” width=“Y” height=“Z”>, “<img src=“X.gif” width=“Y” height=“Z”>”, and/or <img src=“path/x.png” style=“width: Y; height: Z;”>, where “Y” and “Z” are numerical values representing image width and height, respectively.

In other examples in which the requested content includes CSSs, a style including dimensions information for an identified element can be defined in a CSS file (e.g. in example.css: “#element {width: Y; height: Z}”, where “Y” and “Z” are numerical values representing image width and height, respectively) and linked to by the requested HTML file (e.g. “<link rel=“stylesheet” href=“example.css” type=“text/css”/><img id=“element”>”). In another example in which the requested content includes CSSs, a style for a class of objects can be defined in a CSS file (e.g. in example.css: img.eg {width: Y; height: Z}”, where “Y” and “Z” are numerical values representing image width and height, respectively) and linked to by the requested HTML file (e.g. “<link rel=“stylesheet” href=“example.css” type=“text/css”/><img class=“eg”>”). Other methods of including image dimension information can also be provided.

At step 62, the application delivery controller 14 services the client request by communicating the modified requested content to the client computing device 12 over the WAN 30 and LAN 28 networks. Optionally, the application delivery controller 14 stores the modified request content in cache memory 20 such that a subsequent request from a client computing device 12 for the content can be serviced based on the cached content which includes modifications such as including some or all of the externally referenced content inline. Upon rendering the modified requested content, a browser on the client computing device 12 can initially render the page while waiting to obtain externally referenced images and/or allocate the appropriate space for the image(s) referenced by an image tag including both image width and image height parameters, thereby reducing any modification to the presentation of the Web page after an initial rendering by the browser. Accordingly, by retrieving the width and height for one or more of the images, whether represented inline or referred to by external references in the requested content, the application delivery controller 14 substantially reduces the load time for the requested Web page content in browsers that require retrieval of all image object data, including dimension information, prior to initially rendering the Web page.

As described herein this technology provides for faster and more effective presentation of Web pages on client computing devices 12 by performing one or more of the methods described above at an application delivery controller 14 asymmetrically disposed on an opposing side of a WAN from the client computing device 12 and in relatively close proximity to the server(s) 16 storing the requested content and externally referenced content referred to therein. With this technology, Web pages, and particularly home pages, index pages, and splash pages can load more quickly in a browser on a client computing device 12 thereby providing an enhanced user experience more likely to retain the user's attention to the Web page, without sacrificing functionality and/or presentation provided by java scripts, CSSs, and images.

Having thus described the basic concept of the invention, it will be rather apparent to those skilled in the art that the foregoing detailed disclosure is intended to be presented by way of example only, and is not limiting. Various alterations, improvements, and modifications will occur and are intended to those skilled in the art, though not expressly stated herein. These alterations, improvements, and modifications are intended to be suggested hereby, and are within the spirit and scope of the invention. Additionally, the recited order of processing elements or sequences, or the use of numbers, letters, or other designations therefore, is not intended to limit the claimed processes to any order except as may be specified in the claims. Accordingly, the invention is limited only by the following claims and equivalents thereto. 

What is claimed is:
 1. A method for content inlining, comprising: obtaining, by an application delivery controller, content from one or more servers as requested by a client, the content comprising a hypertext markup language (HTML) document; obtaining, by the application delivery controller, external content referenced by an external reference included in the requested content, the external content comprising a script and the external reference comprising a start script tag including a source attribute referencing the external content; modifying, by the application delivery controller, the requested content to include the external content inline comprising removing the source attribute and including the obtained external content referenced by the removed source attribute immediately following the start script tag; and servicing, by the application delivery controller, the request by communicating the modified requested content to the client.
 2. The method as set forth in claim 1 further comprising: for each image tag in the requested content including a source attribute referencing an image object below a specified size: before modifying the requested content, converting, by the application delivery controller, each image object into a base64 representation; and wherein the modifying the requested content further comprises replacing the reference to the image object with at least the base64 representation.
 3. The method as set forth in claim 2 wherein the specified size is selected in accordance with at least one of a predefined specified size as established by one of an operator of the application delivery controller and a manufacturer of the application delivery controller and a maximum size of a uniform resource locator of a browser on the client computing device associated with the request for content.
 4. The method as set forth in claim 1 wherein the modifying the request content further comprises: for each image tag in the requested content including a source attribute referencing an image object and not including at least one of a width attribute or a height attribute: obtaining, by the application delivery controller, metadata from the image object, including at least one of image width or image height; and including, by the application delivery controller, in the image tag at least one of a width attribute or a height attribute based on the obtained metadata.
 5. A non-transitory computer readable medium having stored thereon instructions for content inlining comprising machine executable code which when executed by at least one processor, causes the processor to perform steps comprising: obtaining content from one or more servers as requested by a client, the content comprising a hypertext markup language (HTML) document; obtaining external content referenced by an external reference included in the requested content, the external content comprising a script and the external reference comprising a start script tag including a source attribute referencing the external content; modifying the requested content to include the external content inline comprising removing the source attribute and including the obtained external content referenced by the removed source attribute immediately following the start script tag; and servicing the request by communicating the modified requested content to the client.
 6. The medium as set forth in claim 5 comprising machine executable code which when executed by at least one processor, causes the processor to perform steps further comprising: for each image tag in the requested content including a source attribute referencing an image object below a specified size: before modifying the requested content, converting each image object into a base64 representation; and wherein the modifying the requested content further comprises replacing the reference to the image object with at least the base64 representation.
 7. The medium as set forth in claim 6 wherein the specified size is selected in accordance with at least one of a predefined specified size as established by one of an operator of the application delivery controller and a manufacturer of the application delivery controller and a maximum size of a uniform resource locator of a browser on the client computing device associated with the request for content.
 8. The medium as set forth in claim 5 wherein the modifying the request content further comprises: for each image tag in the requested content including a source attribute referencing an image object and not including at least one of a width attribute or a height attribute: obtaining metadata from the image object, including at least one of image width or image height; and including in the image tag at least one of a width attribute or a height attribute based on the obtained metadata.
 9. An application delivery controller apparatus comprising: one or more processors; and a memory coupled to the one or more processors, the one or more processors configured to be capable of executing programmed instructions stored in the memory comprising: obtaining content from one or more servers as requested by a client, the content comprising a hypertext markup language (HTML) document; obtaining external content referenced by an external reference included in the requested content, the external content comprising a script and the external reference comprising a start script tag including a source attribute referencing the external content; modifying the requested content to include the external content inline comprising removing the source attribute and including the obtained external content referenced by the removed source attribute immediately following the start script tag; and servicing the request by communicating the modified requested content to the client.
 10. The apparatus as set forth in claim 9 wherein the one or more processors are configured to execute programmed instructions stored in the memory further comprising: for each image tag in the requested content including a source attribute referencing an image object below a specified size: before modifying the requested content, converting each image object into a base64 representation; and wherein the modifying the requested content further comprises replacing the reference to the image object with at least the base64 representation.
 11. The apparatus as set forth in claim 10 wherein the specified size is selected in accordance with at least one of a predefined specified size as established by one of an operator of the application delivery controller and a manufacturer of the application delivery controller and a maximum size of a uniform resource locator of a browser on the client computing device associated with the request for content.
 12. The apparatus as set forth in claim 9 wherein the modifying the request content further comprises: for each image tag in the requested content including a source attribute referencing an image object and not including at least one of a width attribute or a height attribute: obtaining metadata from the image object, including at least one of image width or image height; and including in the image tag at least one of a width attribute or a height attribute based on the obtained metadata. 